package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import java.io.IOException;
import java.time.LocalDate;

public interface ReportService {

    // 营业额统计
    TurnoverReportVO turnoverStatistics(LocalDate begin, LocalDate end);

    // 用户统计
    UserReportVO userStatistics(LocalDate begin, LocalDate end);

    // 订单统计
    OrderReportVO ordersStatistics(LocalDate begin, LocalDate end);

    // 统计销量排名top10
    SalesTop10ReportVO top10Statistics(LocalDate begin, LocalDate end);

    // 运营数据报表导出
    void exportData() throws Exception;

}
